package com.hxzy.module.store.api.store.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Author wy
 * @Description TODO
 * @Date 2024/1/24 14:31
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(description = "门店信息")
public class StoreResp {

   @ApiModelProperty(value ="门店id")
    private Long storeId;

   @ApiModelProperty(value ="门店名称")
    private String storeName;

   @ApiModelProperty(value ="门店编码")
    private String storeCode;

   @ApiModelProperty(value =" 状态1启用 0 未启用")
    private Boolean state;

   @ApiModelProperty(value ="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

   @ApiModelProperty(value ="省")
    private String province;

   @ApiModelProperty(value ="市")
    private String city;

   @ApiModelProperty(value ="区")
    private String district;

    /**
     * 客服URL
     */
   @ApiModelProperty(value ="客服URL")
    private String url;

    /**
     * 排序
     */
   @ApiModelProperty(value ="排序")
    private Integer sort;
}
